package com.ylxin.service.impl;

import com.ylxin.dao.UserDao;
import com.ylxin.dao.impl.UserDaoImpl;
import com.ylxin.service.UserService;

/**
 * @author Hou
 * @version V1.0
 * @Project day42
 * @Package com.qf.service.impl
 * @Description:
 * @Date 2022/5/12 9:57
 */
public class UserServiceImpl implements UserService {

    private UserDao userDao = new UserDaoImpl();

    @Override
    public boolean login(String uname, String pwd) {
        return userDao.selectUser(uname,pwd)!=null;
    }
}
